Action

An action providing a response to the SelectColorCallback.

Constructors

Link copied to clipboard
constructor(consumer: Consumer<Response>)

Functions

Link copied to clipboard
open fun cancel()
Notifies the browser that the user has canceled color selection.
Link copied to clipboard
Returns true if this action is closed.
Link copied to clipboard
open fun select(color: Color)
Notifies the browser that the user has selected a color.
Link copied to clipboard
open fun showDialog()
Tells the browser to display a color picker.